|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectutility.pmUtility
public class pmUtility
A collection of static utility methods for dealing with Jama.Matrix objects.
Constructor Summary | |
---|---|
pmUtility()
|
Method Summary | |
---|---|
static double |
mean(Jama.Matrix x,
int columnToSort)
Returns the mean of a given column in a matrix. |
static double |
meanAbsoluteDeviations(Jama.Matrix x,
int column,
double compareTo)
Returns the mean absolute deviations of a column of a matrix against a number. |
static double |
median(Jama.Matrix x,
int columnToSort)
Returns the median of a given column in a matrix. |
static double |
medianAbsoluteDeviations(Jama.Matrix x,
int column,
double compareTo)
Returns the median absolute deviation of a column of a matrix against a number. |
static double |
standardDeviation(Jama.Matrix x,
int col)
Returns the standard deviation of a given column in a matrix. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public pmUtility()
Method Detail |
---|
public static double meanAbsoluteDeviations(Jama.Matrix x, int column, double compareTo)
x
- Matrix of data.column
- Index of column to be used in calculation.compareTo
- Value to compute absolute deviations against.
public static double medianAbsoluteDeviations(Jama.Matrix x, int column, double compareTo)
x
- Matrix of data.column
- Index of column to be used in calculation.compareTo
- Value to compute absolute deviation against.
public static double mean(Jama.Matrix x, int columnToSort)
x
- Matrix of data.columnToSort
- Index of column to be used in the calcuation.
public static double median(Jama.Matrix x, int columnToSort)
x
- Matrix of data.columnToSort
- Index of column to be used in the calculation.
public static double standardDeviation(Jama.Matrix x, int col)
x
- Matrix of data.col
- Index of column to be used in the calculation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |